<php>
$SubjectNav=array(
	
	'lesson'=>array(
		'text'=>'课程表',
		'url'=>'Subject/lesson',
		'icon'=>'glyphicon glyphicon-th-list',
	'color'=>'style="color:#00d449"',
	),
	/*
	'note'=>array(
		'text'=>'笔记',
		'url'=>'Subject/note',
		'icon'=>'glyphicon glyphicon-edit',
	'color'=>'style="color:#C96338"',
	),*/
	'question'=>array(
		'text'=>'答疑',
		'url'=>'Subject/question',
		'icon'=>'glyphicon glyphicon-question-sign',
	'color'=>'style="color:#6DA552"',
	),
	'index'=>array(
		'text'=>'班级动态',
		'url'=>'Subject/index',
		'icon'=>'glyphicon glyphicon-time',
	    'color'=>'style="color:#C96338"',
	),
	'point'=>array(
		'text'=>'我的学分',
		'url'=>'Subject/point',
		'icon'=>'glyphicon glyphicon glyphicon-tower',
	'color'=>'style="color:#00c0ff"',
	),
	
	'apply_award_cash'=>array(
		'text'=>'申请奖学金',
		'url'=>'Subject/apply_award_cash',
		'icon'=>'glyphicon glyphicon-gift',
	'color'=>'style="color:#6DA552"',
	),
  'apply_relearn'=>array(
		'text'=>'申请重学',
		'url'=>'Subject/apply_relearn',
		'icon'=>'glyphicon glyphicon-retweet',
	'color'=>'style="color:#6f5499"',
	),
	//'getKnowledge'=>array(
	//	'text'=>'打卡',
	//	'url'=>'Index/getKnowledge',
	//	'icon'=>'glyphicon glyphicon-log-in',
	//'color'=>'style="color:#00c0ff"',
	//),

);

$subect_sns=array(
	'94'=>86,
	'93'=>85,
);

if($is_mobile){
	$SubjectNav['index']['url']='Subject/timeline';
}



</php>


<if condition="($is_mobile  and $subject_nav eq 'index') or ($is_mobile eq false)">
				<div class="sortlist clearfix" style="margin-bottom:20px">
						<ul class="unstyled nav-class">
								<volist name="SubjectNav" id="vo">
								<li class="item <if condition="$subject_nav eq $key">on</if>" > <a href="<{:U($vo['url'],array('subjectid'=>$subjectid))}>">
	<i  <if condition="$is_mobile"><{$vo.color}></if> class="icon glyphicon <{$vo['icon']}>"></i><span ><{$vo.text}></span></a> </li>
							</volist>	
 
	<li class="item "> <a href="/Group/det/id/<{$subect_sns[$subjectid]}>">
	<i <if condition="$is_mobile">style="color:#0000FF"</if>  class="icon glyphicon glyphicon-list-alt"></i><span>学习社区</span></a> </li>
 

<!-- 
				<li class="item "> <a href="/Group/doc_list/group_id/87">
	<i <if condition="$is_mobile">style="color:#00c0ff"</if>  class="icon glyphicon glyphicon-book"></i><span></span>学习资料</a> </li>
							 -->
						</ul>
				</div>
</if>